package com.school.zhaoban.utils;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 需要登录才能访问的注解
 * @author 又菜又爱玩
 * @version 1.0
 * @date 2022/3/6 11:29
 * @blog https://blog.csdn.net/biancheng4/article/details/121727982
 */


@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface UserLoginToken {
    boolean required() default true;
}
